package com.cuitrip.business.notice.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by sheena on 16/3/15.
 */
public class FeeDescription implements Parcelable {
    private String title;
    private String content;

    public FeeDescription() {

    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    protected FeeDescription(Parcel in) {
        setTitle(in.readString());
        setContent(in.readString());
    }



    public static final Creator<FeeDescription> CREATOR = new Creator<FeeDescription>() {
        @Override
        public FeeDescription createFromParcel(Parcel in) {
            return new FeeDescription(in);
        }

        @Override
        public FeeDescription[] newArray(int size) {
            return new FeeDescription[size];
        }
    };


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(title);
        dest.writeString(content);
    }
}
